package com.spark.common.model


data class MessageListModel(
        var msg: String = "", // 成功
        var code: String = "", // 200
        var data: Data = Data(),
        var resultMaps: List<ResultMap> = listOf()
) {

    data class ResultMap(
            var read: Boolean = false, // false
            var send_time: Long = 0, // 1532521986000
            var deleted: Int = 0, // 0
            var receiver_id: Int = 0, // 18
            var message_type: Int = 0,// 13
            var task_id: Int = 0, // 9270
            var id: Int = 0, // 7
            var title: String = "", // 张无忌借阅 qqq方法吃饭 的申请已被张无忌拒绝的通知
            var content: String = "", // <p class='fs18 colormt'>借阅申请已经被拒绝<span class='refuse'>被拒绝</span></p><p class='fs16 font-color'>张无忌借阅 qqq方法吃饭 的申请2018-07-25 08:33:05.58被拒绝</p><p  class='fs16 handle font-color'>处理人：<span>'张无忌'</span></p>
            var sender_id: Int = 0 // 18
    )


    data class Data(
            var pageCount: Int = 0, // 1
            var count: Int = 0, // 1
            var pageSize: Int = 0, // 6
            var pageNum: Int = 0 // 1
    )
}